﻿using System;
using System.Diagnostics;
using System.IO;
using Noria.Encode.Convert.Properties;

namespace Noria.Encode.Convert
{
    public class NormalizateManager
    {
        public static void NormalizateFiles()
        {
            Debug.Assert(Directory.Exists(GlobalConfig.RootPath), "Target path does not exist: " + GlobalConfig.RootPath);


            Console.WriteLine("RootPath: " + GlobalConfig.RootPath);
            Console.WriteLine("WriteBOM: " + GlobalConfig.WriteBOM);

            new Normalizer(GlobalConfig.RootPath, Settings.Default.Filters).Run();
        }
    }
}
